<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>  
  <title><?echo ($this->layout()->title!="" ? $this->escape($this->layout()->title) : "") ?> | sự kiện | tamtay.vn</title>
  <link rel="shortcut icon" href="<?php echo EVENT_STATIC_SERVER;?>/images/Icon.tamtay.ico" type="image/x-icon" />
  <link type="text/css" rel="stylesheet" href="<?php echo EVENT_STATIC_SERVER;?>/css/calendar/jscal2.css" />
  <link type="text/css" rel="stylesheet" href="<?php echo EVENT_STATIC_SERVER;?>/css/calendar/border-radius.css" />
  <link id="skin-gold" title="Gold" type="text/css" rel="stylesheet" href="<?php echo EVENT_STATIC_SERVER;?>/css/calendar/gold/gold.css" />
  <link id="skinhelper-compact" type="text/css" rel="alternate stylesheet" href="<?php echo EVENT_STATIC_SERVER;?>/css/calendar/reduce-spacing.css" />
  
  <link href="<?php echo EVENT_STATIC_SERVER;?>/css/style_all.css" rel="stylesheet" type="text/css" />  
 
  <link href="<?php echo EVENT_STATIC_SERVER;?>/css/jquery.fancybox.css" rel="stylesheet" type="text/css" />
  <link href="<?php echo EVENT_STATIC_SERVER;?>/css/jquery.autocomplete.css" rel="stylesheet" type="text/css" /> 
  <link href="<?php echo EVENT_STATIC_SERVER;?>/css/ie6fix.css" rel="stylesheet" type="text/css" />            
  <link href="<?php echo EVENT_STATIC_SERVER;?>/css/event.css" rel="stylesheet" type="text/css" />
  <link href="<?php echo EVENT_STATIC_SERVER;?>/css/toolbar.css" rel="stylesheet" type="text/css">
  <!--[if lte IE 7]>
    <link href="/css/patches/patch_home.css" rel="stylesheet" type="text/css" />
  <![endif]-->
  
  
    
          
  <script type="text/javascript" src="<?php echo EVENT_STATIC_SERVER;?>/js/pngfix.js"></script>
  <script type="text/javascript" src="<?php echo EVENT_STATIC_SERVER;?>/js/jquery.js"></script>      
  <script type="text/javascript" src="<?php echo EVENT_STATIC_SERVER;?>/js/jquery.autocomplete.js"></script>   
  <script type="text/javascript" src="<?php echo EVENT_STATIC_SERVER;?>/js/avim.js"></script>
  <script type="text/javascript" src="<?php echo EVENT_STATIC_SERVER;?>/js/resize.js"></script>
  <script type="text/javascript" src="<?php echo EVENT_STATIC_SERVER;?>/js/jquery.fancybox.js"></script>      
  <script type="text/javascript" src="<?php echo EVENT_STATIC_SERVER;?>/js/event.js"></script>
  <script type="text/javascript" src="<?php echo EVENT_STATIC_SERVER;?>/js/toolbar.js"></script>
  
  <script src="<?php echo EVENT_STATIC_SERVER;?>/js/calendar/jscal2.js"></script>
  <script src="<?php echo EVENT_STATIC_SERVER;?>/js/calendar/lang/en.js"></script>                   
  
  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
                <script type="text/javascript" src="/js/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
                <script type="text/javascript" src="/js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
                <link rel="stylesheet" type="text/css" href="/js/fancybox/jquery.fancybox-1.3.4.css" media="screen" />

  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
  <meta name="keywords" content="photo, ảnh, picture, photo art, ảnh đẹp, người mẫu, ảnh nền, ảnh nghệ thuật, tamtay.vn, chia sẻ photo, chia sẻ ảnh, mạng xã hội" />
  <meta name="description" content="Chuyên trang chia sẻ ảnh của mạng xã hội Tamtay.vn" />
  <meta name="verify-v1" content="GRBRcIl8Tu+x9ZTz/IV6uMVkMpd1hv1yJO3Gj5pKo00=" />
  <meta name="author" content="Tamtay Team" />
  
  
<!--Begin foreground:-->
<link href="<?php echo EVENT_STATIC_SERVER;?>/css/foreground.css" rel="stylesheet" type="text/css" />
<!--End foreground-->

</head> 
<body>

<!--Start: Toolbar-->
<div id="presence" class="full"></div>
<!--End: Toolbar-->

<?php $user = $this->controller->getUser(); ?>
<!--Start: Header-->
<div class="hdrWrap">
    <div class="hdr">
        <div>
            <a href="http://www.tamtay.vn" class="logo" title="Trang chủ tamtay.vn"><img src="<?php echo EVENT_STATIC_SERVER;?>/images/spacer.gif" alt="Tamtay.vn" /></a>
            <?php if($user->uid > 0): ?>
            <div class="personal"> 
                <span class="persText">Chào</span>
                <div class="persName" onmouseout="document.getElementById('persPlus').style.visibility='hidden'" onmouseover="document.getElementById('persPlus').style.visibility='visible'">
                    <div id="persPlus" class="tt_ddmenu">
                         <a href="/myprofile/<?= $user->uid ?>/edit/basic">Thông tin cá nhân</a>
                         <a href="/mymessage/inbox">Tin nhắn</a>  
                    </div>
                    <span><a href="/home/"><?= $user->name ?></a></span>
                </div>
                <a href="<?php echo IDS_LOGOUT_URL;?>" onclick="return confirm('Bạn chắc chắn thoát ra');" class="persOut">Thoát</a>
            </div>
            <?php endif; ?>    
            <div class="search">        
                <div class="float-left" onmouseout="document.getElementById('webPlus').style.visibility='hidden'" onmouseover="document.getElementById('webPlus').style.visibility='visible'" onclick="document.getElementById('webPlus').style.visibility='hidden'">
                    <div id="webPlus" class="tt_ddmenu">                    
                        <a id="search_cat" href="#">Toàn bộ</a> 
                        <a id="search_cat1" name="video" href="#">Video</a>                         
                        <a href="#" name="photo" id="search_cat2">Ảnh</a> 
                        <a id="search_cat3" name="music" href="#">Nhạc</a> 
                        <a id="search_cat4" name="blog" href="#">Blog</a> 
                    </div>
                    <span><a id="selected_cat" href="#" class="searchText">Ảnh</a></span> 
                </div>                
                <input id="searchContent" type="text" onkeypress="key_press(event)" onclick="check_search_content();" value="Nhập từ khóa cần tìm..." name="searchContent"/>
                <a href="#" onclick="javascript:goto_search_page();">
                    <img src="<?php echo EVENT_STATIC_SERVER;?>/images/searchHdrButton.jpg" alt="searchButton" class="float-left" />
                </a>
            </div>                 
            <div class="clearThis"></div>
        </div>
        <div class="hdrBottom">
            <!--Start: Navigation-->
            <ul class="mainNav">
                <li><a href="http://www.tamtay.vn/home">Nhà tôi</a></li>        
                <li><a href="http://video.tamtay.vn">Video</a></li>
                <li><a href="http://photo.tamtay.vn">Ảnh</a></li>
                <li><a href="http://music.tamtay.vn">Nhạc</a></li>
                <li><a href="http://blog.tamtay.vn">Blog</a></li>
                <li><a href="http://phim.tamtay.vn">Phim <img src="http://i0.ttimg.vn/images/beta.gif"></a></li>
                <li><a href="http://game.tamtay.vn">Game</a></li>
                <li><a href="http://tcoin.tamtay.vn">Ngân hàng</a></li>
                <li><a href="http://tuthien.tamtay.vn">Từ thiện</a></li>
                <li><a href="http://chic.tamtay.vn/">Chic <img src="http://i0.ttimg.vn/images/beta.gif"></a></li>
                <li onmouseout="document.getElementById('navPlus').style.visibility='hidden'" onmouseover="document.getElementById('navPlus').style.visibility='visible'">
                    <div id="navPlus" class="tt_ddmenu">
                        <a href="http://tads.tamtay.vn">Quảng cáo</a>
                        <a href="http://www.tamtay.vn/group/forum">Diễn đàn</a>
                        <a href="http://www.tamtay.vn/event" class="itemS">Sự kiện</a>
                        <a href="http://www.tamtay.vn/group">Nhóm</a>
                        <a href="http://www.tamtay.vn/bookmark/home">Link hay</a>
                        <a href="http://www.tamtay.vn/network/home">Cộng đồng</a>
                        <a href="http://www.tamtay.vn/search/basic">Thành viên</a>
                        <a href="http://chat.tamtay.vn">Tiện ích</a> 
                    </div>
                    <a href="#" class="itemMore">Thêm</a>
                </li>
                <li class="float-right last"><a href="http://support.tamtay.vn/mboard">Hỗ trợ</a></li>
                <?php if ($user->uid <= 0): ?>                                               
                <li class="float-right"><a href="<?php echo IDS_REGISTER_URL;?>">Đăng ký</a></li>
                <li class="float-right"><a href="<?php echo IDS_LOGIN_URL;?>">Đăng nhập</a></li>
                <?php endif; ?>
            </ul>
            <!--End: Navigation-->
            <div class="clear"></div>
        </div>
        <?= $this->layout()->menu; ?>       
        <div class="clear"></div>
    </div>
</div>
<!--End: Header-->  



        <?php echo $this->layout()->content;?>

  
              
<!--Start: Bottom-->
<div class="footerWrap">
  <div class="footer">
    <div class="footerLink"> 
        <a title="Bản tin T" href="http://blog.tamtay.vn/blog/view/325172">Bản tin T</a> <span>|</span> 
        <a title="Giới thiệu" href="http://blog.tamtay.vn/blog/view/102612">Giới thiệu</a> <span>|</span> 
        <a title="Điều khoản sử dụng" href="http://support.tamtay.vn/info/13046">Điều khoản sử dụng</a> <span>|</span> 
        <a title="Chính sách riêng tư" href="http://support.tamtay.vn/info/13047">Chính sách riêng tư</a> <span>|</span> 
        <a title="Quảng cáo" href="http://tads.tamtay.vn">Quảng cáo</a> <span>|</span> 
        <a title="Tuyển dụng" href="http://support.tamtay.vn/info/13045">Tuyển dụng</a> <span>|</span> 
        <a title="Góp ý" href="http://support.tamtay.vn/advice">Góp ý</a> <span>|</span> 
        <a title="Liên hệ" href="http://support.tamtay.vn/info/13044">Liên hệ</a> <span>|</span> 
        <a title="For Investors" href="http://support.tamtay.vn/info/13048">For Investors</a> <span>|</span>   
        <a title="For Developers" href="http://developer.tamtay.vn">For Developers</a> <span>|</span>        
        <a title="Đầu trang" href="#">Đầu trang</a> 
    </div>
    <div class="copyRight">Giấy phép MXH số 16/GXN-TTDT, Giấy phép ICP số 531/GP-CBC. Ghi rõ nguồn &quot;Tamtay.vn&quot; khi bạn phát hành lại thông tin từ website này. Copyright 2007-2011 Tamtay.vn</div>
  </div>
</div>
<script type="text/javascript">       
    $(document).ready(function(){  
        $("a[id^='search_cat']").click(function(){                
            $("#selected_cat").text($(this).text());
        });
    });         
    
    function goto_search_page() {            
        var cat = $('#selected_cat').text();
        var sel_cat="";
        var url="";                           
        switch (cat)
        {
            case "Video":
                sel_cat="video";            
                break;
            case 'Nhạc':
                sel_cat="music";            
                break;
            case 'Ảnh':
                sel_cat="photo";            
                break;
            case 'Blog':
                sel_cat="blog";                
                break;
            default:
                sel_cat = "";
        }        
        
        if(sel_cat!="")                    
            window.location.href = "http://search.tamtay.vn/?q="+$("#searchContent").val() + "&f=" + sel_cat;        
        else
             window.location.href = "http://search.tamtay.vn/?q="+$("#searchContent").val();
        
    }
    
    function rgbToHex(rgb) {
        var rgbvals = /rgb\((.+),(.+),(.+)\)/i.exec(rgb);
        var rval = parseInt(rgbvals[1]);
        var gval = parseInt(rgbvals[2]);
        var bval = parseInt(rgbvals[3]);

        return '#' + (
            rval.toString(16) +
            gval.toString(16) +
            bval.toString(16)
        ).toUpperCase();
    }

    
    function check_search_content() {
        var content = $("#searchContent").val();
        if (content == 'Nhập từ khóa cần tìm...')
        $("#searchContent").val("");

        if (rgbToHex($("#searchContent").css('color')) == '#CCCCCC')
        $("#searchContent").css('color', '#000000'); 
    }
    
    function key_press(e) {
     var Ucode=e.keyCode? e.keyCode : e.charCode;
    
     if (Ucode == 13)
     //window.location.href = "http://search.tamtay.vn/?q="+$("#searchContent").val();
         goto_search_page();
    }
        
</script>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>

<script type="text/javascript">
try {
    var pageTracker = _gat._getTracker("UA-1998116-1");
    pageTracker._setDomainName(".tamtay.vn");
    pageTracker._trackPageview();
} catch(err) {}

</script>


<!-- Ads by Ambient Digital -->
<script type="text/javascript" language="javascript" src="http://delivery.adnetwork.vn/247/adclick/ads_em9uZV9NVEk1TURZMk9EazFORjh4TWprd05qWTROVGcxWHpJME1GOHlNREE9Lmh0bWxVNzI4STdWRTEwMTAxMDc4Mk0zOFc=/"></script>
<!-- Ads by Ambient Digital -->
</body>
</html>
